<button type="button" onClick="refreshPage()">Close</button> <script> function refreshPage(){ window.location.reload(); } </script>
<button type="button" onClick="window.location.reload();">Close</button>